import javax.microedition.lcdui.Display;
import javax.microedition.midlet.MIDlet;
import javax.microedition.midlet.MIDletStateChangeException;


public class Main extends MIDlet {
	private Display pantalla;
	private Mapa mapa;
	
	public Main() {
		
		pantalla= Display.getDisplay(this);
		String mapa1="1113331111312113311111122311113121133111111223111131211331111112231111312113311111122311113121133111";
		String mapa2="1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111";		
		mapa=new Mapa(mapa2);
		
		
		
		pantalla.setCurrent(mapa);
		mapa.repaint();
	}

	protected void destroyApp(boolean arg0) throws MIDletStateChangeException {
		// TODO Auto-generated method stub

	}

	protected void pauseApp() {
		// TODO Auto-generated method stub

	}

	protected void startApp() throws MIDletStateChangeException {
		// TODO Auto-generated method stub

	}

}
